#include <bits/stdc++.h>

using namespace std;

const double target=11625907.5798;
const int N=23333333;

int main() 
{
	for(int i=0;i<=N;i++)
	{
		double a=i*1.0/N;
		double b=(N-i)*1.0/N;
		double t=abs(i*a*log2(a)+(N-i)*b*log2(b));
		if(abs(t-target)<=0.0001)
		{
			cout<<i<<endl;
			break;
		}
	}	
	return 0;
}
